package com.lucnn.diamond.spring.controller;

import com.lucnn.diamond.spring.service.BookService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

@Controller
public class BookController {

    @Autowired
    private BookService bookService;

    public void print(){
        System.out.println(bookService+",label:"+bookService.getLable());
    }
}
